class SPPara(object):
    def __init__(self, type=None):
        if type == "drone":
            # Drone
            self.FH_sigma_1 = 0.5
            self.FH_k_1 = 100
            self.FH_min_size_1 = 200
            self.FH_sigma_2 = 0.8
            self.FH_k_2 = 200
            self.FH_min_size_2 = 300
            self.SNIC_divisor_1 = 900
            self.SNIC_compactness_1 = 3
            self.SNIC_divisor_2 = 800
            self.SNIC_compactness_2 = 5
            self.SNIC_divisor_3 = 700
            self.SNIC_compactness_3 = 5
            self.SNIC_divisor_4 = 50
            self.SNIC_compactness_4 = 3
        elif type == "s2" or type == "sr":
            # Default for S2 and SR
            self.FH_sigma_1 = 0.5
            self.FH_k_1 = 100
            self.FH_min_size_1 = 50
            self.FH_sigma_2 = 0.8
            self.FH_k_2 = 200
            self.FH_min_size_2 = 100
            self.SNIC_divisor_1 = 500
            self.SNIC_compactness_1 = 3
            self.SNIC_divisor_2 = 400
            self.SNIC_compactness_2 = 5
            self.SNIC_divisor_3 = 300
            self.SNIC_compactness_3 = 5
            self.SNIC_divisor_4 = 50
            self.SNIC_compactness_4 = 3
        else:
            # FH for a tile
            self.FH_sigma_1 = 0.5
            self.FH_k_1 = 400
            self.FH_min_size_1 = 50
